package com.lucky.contract.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface MapperDao<T> {
	
	List<T> queryByConditions(Map<String, Object> params);
	
	long queryPageInfo(Map<String, Object> params);
	
	T getById(@Param("pkId") String pkId);
	
	void delete(@Param("pkId") String pkId);
	
	int insert(T params);
	
	int update(T params);

}
